package jps.gpx

import scala.xml.Node

case class GpxTrk( trackSegments : Seq[GpxTrkSeg] )

object GpxTrk {
  def apply(node: Node) : GpxTrk = new GpxTrk((node \ "trkseg").map(GpxTrkSeg(_)))
}

